package com.example.demo.controller.ai;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description: 页面跳转
 * @author: liyuan
 * @data 2020-12-15 08:52
 */
@Controller
@RequestMapping("/")
public class PageController {
    /**
     * for循环表单的页面跳转
     *
     * @return
     */
    @GetMapping("forForm")
    public String forForm() {
        return "forForm";
    }

    /***
     * 并行测试，我不知道是不是数据被缓存了？？
     * @return
     */
    @Deprecated
    @GetMapping("paramForm")
    public String paramForm() {
        return "paramForm";
    }
}
